package vma.nicici.chat.api.map;

public class Point implements UrlStringable {
		String lat;
		String lon;
		
		public static Point fromDouble(double lat, double lon) {
			return new Point(String.valueOf(lat), String.valueOf(lon));
		}
		
		public Point(String lat, String lon) {
			this.lat = lat;
			this.lon = lon;
		}
		
		public String asUrl() {
			return lat+','+lon;
		}
}
